﻿@model Adams.Web.Models.Classifieds.Search.PageLoad
@{
    Layout = "~/Views/Shared/_ContentLayout.Mobile.cshtml";
}
@section Head{
    <link href="/Content/Classifieds/search.css" rel="stylesheet" type="text/css" />
}
@section Scripts {
}
<h1>Search Classifieds</h1>
<form action="/classifieds/search" method="get">
<input type="text" name="criteria" id="criteria" value="@Model.Criteria" />
<input type="submit" value="Search" />
</form>
@foreach (var posting in Model.Postings)
{
    <div>
        <a href="/classifieds/@posting.ID">@posting.Title</a> - @posting.Price (@posting.Location) @posting.Category.Type.Name - @posting.Category.Name
    </div>
}
